package com.meixiang.entity.myOrder;

import com.meixiang.view.photoSelectActivity.util.ImageItem;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author yinsujun  Created at 2016/5/18 15:35
 */
public class MyOrderDetail implements Serializable {
    /**
     * 订单编号
     */
    private String orderId;
    /**
     * 订单号
     */
    private String orderSn;
    private String evaluationStatus;
    /**
     * 1是总店，0不是
     */
    private String isMainStore;

    /**
     * 支付状态 待付款0/已付款 1
     */
    private String paymentState;
    /**
     * 订单状态：0:已取消;10:待付款;20:待发货;30:待收货;40:交易完成;50:已提交;60:已确认;
     */
    private String orderState;
    /**
     * 订单应付总金额 实际付款金额
     */
    private String orderAmount;
    /**
     * 详细地址
     */
    private String address;
    /**
     * 所属地区
     */
    private String areaInfo;
    /**
     * 订单总价格
     */
    private String orderTotalPrice;
    /**
     * 收货人姓名
     */
    private String trueName;
    /**
     * 收货人编号
     */
    private String memberId;
    /**
     * 收货人电话
     */
    private String telPhone;
    /**
     * 订单创建时间
     */
    private String createTime;
    /**
     * 订单支付时间
     */
    private String paymentTime;
    /**
     * 订单运费
     */
    private String shippingFee;
    /**
     * 优惠券价格
     */
    private String couponPrice;
    /**
     * 店铺编号
     */
    private String storeId;
    /**
     * 店铺名称
     */
    private String storeName;
    /**
     * 客服电话
     */
    private String storeTel;
    /**
     * 退款售后id
     */
    private String refundId;

    public String getIsMainStore() {
        return isMainStore;
    }

    public void setIsMainStore(String isMainStore) {
        this.isMainStore = isMainStore;
    }

    public String getEvaluationStatus() {
        return evaluationStatus;
    }

    public void setEvaluationStatus(String evaluationStatus) {
        this.evaluationStatus = evaluationStatus;
    }

    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    private List<OrderGoodsListBean> orderGoodsList;
    private List<TagListBean> tagList;

    public List<TagListBean> getTagList() {
        return tagList;
    }

    public void setTagList(List<TagListBean> tagList) {
        this.tagList = tagList;
    }


    public String getStoreTel() {
        return storeTel;
    }

    public void setStoreTel(String storeTel) {
        this.storeTel = storeTel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAreaInfo() {
        return areaInfo;
    }

    public void setAreaInfo(String areaInfo) {
        this.areaInfo = areaInfo;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getPaymentState() {
        return paymentState;
    }

    public void setPaymentState(String paymentState) {
        this.paymentState = paymentState;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(String orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getOrderTotalPrice() {
        return orderTotalPrice;
    }

    public void setOrderTotalPrice(String orderTotalPrice) {
        this.orderTotalPrice = orderTotalPrice;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(String paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getShippingFee() {
        return shippingFee;
    }

    public void setShippingFee(String shippingFee) {
        this.shippingFee = shippingFee;
    }

    public String getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(String couponPrice) {
        this.couponPrice = couponPrice;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public List<OrderGoodsListBean> getOrderGoodsList() {
        return orderGoodsList;
    }

    public void setOrderGoodsList(List<OrderGoodsListBean> orderGoodsList) {
        this.orderGoodsList = orderGoodsList;
    }
    public static class OrderGoodsListBean implements Serializable{
        /**
         * 订单明细编号
         */
        private String recId;
        /**
         * 商品编号
         */
        private String goodsId;
        /**
         * 商品名称
         */
        private String goodsName;
        /**
         * 商品规格编号
         */
        private String specId;
        /**
         * 商品价格
         */
        private String goodsPrice;
        /**
         * 商品图片
         */
        private String goodsImage;
        private String goodsNum;
        private String refundState;
        /**
         * 商品描述关键字 specInfo : ["补水单品","均码"]
         */
        private List<String> specInfo;

        /**
         * 评价等级描述
         * @return
         */
        private List<GradeListBean> gevalList;

        private List<String> photo;
        private List<TagListBean> tagId;
        private String refundId;

        public List<TagListBean> getTagId() {
            return tagId;
        }

        public void setTagId(List<TagListBean> tagId) {
            this.tagId = tagId;
        }

        public List<String> getPhoto() {
            return photo;
        }

        public void setPhoto(List<String> photo) {
            this.photo = photo;
        }

//        public ArrayList<ImageItem> getImageList() {
//            return imageList;
//        }
//
//        public void setImageList(ArrayList<ImageItem> list) {
//            this.imageList = list;
//        }


        public String getRefundState() {
            return refundState;
        }

        public void setRefundState(String refundState) {
            this.refundState = refundState;
        }

        public String getGoodsNum() {
            return goodsNum;
        }

        public void setGoodsNum(String goodsNum) {
            this.goodsNum = goodsNum;
        }

        public List<GradeListBean> getGevalList() {
            return gevalList;
        }

        public void setGevalList(List<GradeListBean> gevalList) {
            this.gevalList = gevalList;
        }

        public String getRecId() {
            return recId;
        }

        public void setRecId(String recId) {
            this.recId = recId;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getSpecId() {
            return specId;
        }

        public void setSpecId(String specId) {
            this.specId = specId;
        }

        public String getGoodsPrice() {
            return goodsPrice;
        }

        public void setGoodsPrice(String goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public String getGoodsImage() {
            return goodsImage;
        }

        public void setGoodsImage(String goodsImage) {
            this.goodsImage = goodsImage;
        }

        public List<String> getSpecInfo() {
            return specInfo;
        }

        public void setSpecInfo(List<String> specInfo) {
            this.specInfo = specInfo;
        }

        @Override
        public String toString() {
            return "OrderGoodsListBean{" +
                    "recId='" + recId + '\'' +
                    ", goodsId='" + goodsId + '\'' +
                    ", goodsName='" + goodsName + '\'' +
                    ", specId='" + specId + '\'' +
                    ", goodsPrice='" + goodsPrice + '\'' +
                    ", goodsImage='" + goodsImage + '\'' +
                    ", goodsNum='" + goodsNum + '\'' +
                    ", refundState='" + refundState + '\'' +
                    ", specInfo=" + specInfo +
                    ", gevalList=" + gevalList +
                    ", photo=" + photo +
                    ", tagId=" + tagId +
                    '}';
        }
    }
    public static class GradeListBean implements Serializable{
        /**
         * 星级数量
         */
        String scores;
        /**
         * 惊喜
         */
        String scoresText;

        public String getScores() {
            return scores;
        }

        public void setScores(String scores) {
            this.scores = scores;
        }

        public String getScoresText() {
            return scoresText;
        }

        public void setScoresText(String scoresText) {
            this.scoresText = scoresText;
        }

        @Override
        public String toString() {
            return "GradeListBean{" +
                    "scores='" + scores + '\'' +
                    ", scoresText='" + scoresText + '\'' +
                    '}';
        }
    }
    public static class TagListBean implements Serializable{
        /**
         * id
         */
        String tagId;
        /**
         * 描述
         */
        String tagName;
        private boolean isSelect;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public String getTagId() {
            return tagId;
        }

        public void setTagId(String tagId) {
            this.tagId = tagId;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }

        @Override
        public String toString() {
            return "TagListBean{" +
                    "tagId='" + tagId + '\'' +
                    ", tagName='" + tagName + '\'' +
                    ", isSelect=" + isSelect +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "MyOrderDetail{" +
                "orderId='" + orderId + '\'' +
                ", orderSn='" + orderSn + '\'' +
                ", evaluationStatus='" + evaluationStatus + '\'' +
                ", isMainStore='" + isMainStore + '\'' +
                ", paymentState='" + paymentState + '\'' +
                ", orderState='" + orderState + '\'' +
                ", orderAmount='" + orderAmount + '\'' +
                ", address='" + address + '\'' +
                ", areaInfo='" + areaInfo + '\'' +
                ", orderTotalPrice='" + orderTotalPrice + '\'' +
                ", trueName='" + trueName + '\'' +
                ", memberId='" + memberId + '\'' +
                ", telPhone='" + telPhone + '\'' +
                ", createTime='" + createTime + '\'' +
                ", paymentTime='" + paymentTime + '\'' +
                ", shippingFee='" + shippingFee + '\'' +
                ", couponPrice='" + couponPrice + '\'' +
                ", storeId='" + storeId + '\'' +
                ", storeName='" + storeName + '\'' +
                ", storeTel='" + storeTel + '\'' +
                ", refundId='" + refundId + '\'' +
                ", orderGoodsList=" + orderGoodsList +
                ", tagList=" + tagList +
                '}';
    }
}
